-- GENERATED SPELL FOR [Ardo Dirtpaw] --


function spell0_711(pUnit, Event) --@Plague Cloud,n/a--
pUnit:FullCastSpellOnTarget(3256,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_711', 2000, 1)
end

function spell1_711(pUnit, Event) --@Sling Mud,n/a--
pUnit:FullCastSpellOnTarget(3650,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_711', 16000, 1)
end

function Sorts_711(pUnit, Event)
local choix_sorts_711 = math.random(0, 1)
if choix_sorts_711 == 0 then
pUnit:RegisterEvent('spell0_711', 1, 1)
end
if choix_sorts_711 == 1 then
pUnit:RegisterEvent('spell1_711', 1, 1)
end
end

function mob711_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_711', math.random(1500, 3000), 1)
end

function mob711_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob711_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob711_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(711, 1, 'mob711_Action')
RegisterUnitEvent(711, 2, 'mob711_Leave')
RegisterUnitEvent(711, 3, 'mob711_Kill')
RegisterUnitEvent(711, 4, 'mob711_Die')
